package com.example.flshtarvel.service;

import com.example.flshtarvel.entity.ImageArticleMap;
import com.example.flshtarvel.mapper.ImageArticleMapMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ImageArticleMapService {
    @Autowired(required = false)
    ImageArticleMapMapper imageArticleMapMapper;

    public int insertImageArticleMap(ImageArticleMap imageArticleMap){
        return imageArticleMapMapper.insertImageMessageMap(imageArticleMap);
    }

    public int deleteImageArticleMap(ImageArticleMap imageArticleMap){
        return imageArticleMapMapper.deleteImageMessageMap(imageArticleMap);
    }
}
